package xyz.chaobei.date;

import java.time.ZoneId;

/**
 * @author <a href='mailto:maruichao52@gmail.com'>MRC</a>
 * @since 2021/2/19
 */
public class TimeZonesTest {

    public static void main(String[] args) {

        System.out.println(ZoneId.getAvailableZoneIds());

        // Asia/Shanghai

        ZoneId local = ZoneId.of("Asia/Shanghai");
        ZoneId america = ZoneId.of("America/Manaus");
        System.out.println(local.getRules());
        System.out.println(america.getRules());
    }
}
